package com.soilflow.know.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.soilflow.common.core.domain.entity.GamesBetHistory;
import com.soilflow.common.core.domain.entity.GamesBidHistory;

import java.math.BigDecimal;
import java.util.List;

public interface GamesBetHistoryService extends IService<GamesBetHistory> {


    GamesBetHistory selectGamesBetHistoryById(Long id);

    GamesBetHistory selectGamesBetHistoryByBidNo(String bidNo);
    GamesBetHistory selectOneGamesBetHistoryListByUserIdOfBetNo(GamesBetHistory Dto);

    List<GamesBetHistory> selectGamesBetHistoryList(GamesBetHistory Dto);

    BigDecimal insertGamesBetHisotry(GamesBetHistory Dto);
    BigDecimal cancelGamesBetHisotry(GamesBetHistory Dto);

    Boolean  updateGamesBetHistory(GamesBetHistory Dto);

    List<GamesBetHistory> selectGamesBetHistoryListByBidNo(String dto);
    List<GamesBetHistory> selectGamesBetHistoryListByUserIdOfBetNo(GamesBetHistory dto);

    Boolean deleteGamesBetHistoryByIds(List<Long> ids);
}
